<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./css/remixicon/remixicon.css">
    <link rel="stylesheet" href="./css/animate.min.css">
    <link rel="icon" href="./img/logo.png">
    <link rel="stylesheet" href="./layui-v2.5.7/layui-v2.5.7/layui/css/layui.css">
    <link rel="stylesheet" href="./layui-v2.5.7/layui-v2.5.7/layui/css/layui.mobile.css">
    <link rel="stylesheet" href="./css/index.css">

    <title>招聘会签到</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
    </style>
</head>
<body onload="SetTime(),setCollege(),setField()">
    <div class="layui-container" id="main">
        <div class="top-img">
            <img src="./img/CTGU.png" alt="三峡大学">
        </div>
        <div class="layui-container">
            <div class="main-title">
                <h2>招聘会签到</h2>
                <h3>Hi!</h3>
                <div class="time-box" id="time">
                    <div style="font-size: 20px;color: #646a73;">当前时间</div>
                    <div id="line-1"></div>
                    <div id="line-2"></div>
                </div>
                <h4 class="animated bounceInUp">欢迎参加
                    <span id="time-text"></span>
                    的招聘会！请签到！
                </h4>
            </div>
            <div class="layui-form main-form">
                <!-- <form action="https://qmx.yangdiy.cn/form/addform" method="POST" class="layui-form"> -->
                <form action="https://qmx.yangdiy.cn/form/addform" method="POST" role="form" class="layui-form" name="myform" id="myform">
                    <div class="layui-form-item">
                        <label for="class-name" class="layui-form-label">
                            <img src="./img/img.png" alt="">
                            您的身份
                        </label>                                                        
                        <div class="layui-input-block">
                            <select class="" name="identity" id="class-name" lay-filter="class-name">
                                <option value="请点击选择">请点击选择</option>
                                <option value="1">本校本科生</option>
                                <option value="4">本校研究生</option>
                                <option value="2">外校学生</option>
                                <option value="3">本校老师</option>
                                <!-- <option value="5">辅导员</option> -->
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item" id="name-box">
                        <label for="name-input" class="layui-form-label">
                            <img src="./img/img.png" alt="">
                            您的姓名
                        </label>
                        <div class="layui-input-block">
                            <input id="name-input" onblur="isName(this.value)" type="text" placeholder="请输入姓名..." autocomplete="off" class="layui-input" name="name" lay-filter="user_name">
                            <div id="check-name-box" class="animated "style="width: inherit;height:40px;">
                                <span>请输入正确的姓名...
                                </span>
                            </div>
                        </div>
                    </div>
<!--                    <div class="layui-form-item" id="outschool-box">-->
<!--                        <label for="outschool-select" class="layui-form-label">-->
<!--                            <img src="./img/img.png" alt="">-->
<!--                            您的姓名-->
<!--                        </label>-->
<!--                    </div>-->
                    <div class="layui-form-item" id="school-box">
                        <label for="school-input" class="layui-form-label">
                            <img src="./img/img.png" alt="">
                            学校名称
                        </label>
                        <div class="layui-input-block">
                            <input id="school-input" onblur="isSchool(this.value)" type="text" class="layui-input" placeholder="请输入你来自的学校..." name="school">
                            <div id="check-school-box" class="animated "style="width: inherit;height:40px;">
                                <span>请输入正确的学校名称...
                                </span>
                            </div>
                        </div>
                        
                    </div>
                    <div class="layui-form-item" id="number-box">
                        <label for="number-input" class="layui-form-label">
                            <img src="./img/img.png" alt="">
                            您的学号
                        </label>
                        <div class="layui-input-block">
                            <input type="text" onblur="isNumber(this.value)" id="number-input" class="layui-input" placeholder="请输入您的学号..." name="stu_id">
                            <div id="number-check-box" class="animated " style="width: inherit;height: 40px;">
                                <span>请输入正确的学号...</span>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item" id="work-class">
                        <label class="layui-form-label" for="work-select">
                            <img src="./img/img.png" alt="">
                            您的学院
                        </label>
                        <div class="layui-input-block">
                            <select class="form-control" name="college" id="work-select" >
                                <option value="计算机与信息学院">计算机与信息学院</option>
                                <option value="土木与建筑学院">土木与建筑学院</option>
                                <option value="机械与动力学院">机械与动力学院</option>
                                <option value="材料与化工学院">材料与化工学院</option>
                                <option value="电气与新能源学院">电气与新能源学院</option>
                                <option value="经济与管理学院">经济与管理学院</option>
                                <option value="医学院">医学院</option>
                                <option value="文学与传媒学院">文学与传媒学院</option>
                                <option value="理学院">理学院</option>
                                <option value="法学与公共管理学院">法学与公共管理学院</option>
                                <option value="其他">其他</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item" id="session-box">
                        <label for="session-select" class="layui-form-label" style="font-size:12px;">
                            <img src="./img/img.png" alt="">
                            招聘会场次
                        </label>
                        <div class="layui-input-block">
                            <select class="form-control" name="field" id="session-select">
                                <!-- <option value="">请选择你的场次...</option> -->
                                <option value="qq">qq</option>
                                <option value="飞书">飞书</option>
                                <option value="微信">微信</option>
                                <option value="微博">微博</option>
                                <option value="网易云">网易云</option>
                            </select>
                        </div>

                    </div>
                    <div class="btn-box" id="button-box" style="text-align: center">
                        <button id="btn" type="button" class="layui-btn">签到</button>
                        <div id="success-btn" style="width: inherit;height: 40px;background-color: #ee3f4d;position: relative;display: none;" >
                            <span style="display:inline-block; position:absolute; color: #fff;font-size: 16px;left:0;right:0;bottom:0;top:8px;">提交成功!</span>
                        </div>
                    </div>
                </form>
                <iframe id="sub-form" name="sub-form" src="" style="display: none"></iframe>
            </div>
            <div class="foot" id="footer">
                <div class="container">
                    <div class="foot-img-box">
                        <img src="./img/logo.png" alt="三峡大学">
                        <h3>三峡大学</h3>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./layui-v2.5.7/layui-v2.5.7/layui/layui.js"></script>
<script type="text/javascript" src="./layui-v2.5.7/layui-v2.5.7/layui/layui.all.js"></script>
<script type="text/javascript" src="./js/jquery.waypoints.min.js"></script>
<script type="text/javascript" src="./js/jquery.easing.min.js"></script>
<!--<script type="text/javascript" src="./js/list.js"></script>-->
<script type="text/javascript" src="js/setting.js"></script>
<script type="text/javascript" src="js/check.js"></script>
<script type="text/javascript" src="js/submit.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<script type="text/javascript" src="./js/time.js"></script>
<!-- <script type="text/javascript" src="./js/check.js"></script> -->
</html>